package valid

import "github.com/astaxie/beego/orm"

//获取表对象
func getQueryTable(table string) orm.QuerySeter {
	o := orm.NewOrm()
	return o.QueryTable(table)
}

//获取orm对象
func getOrm() orm.Ormer {
	return orm.NewOrm()
}
